package com.turnengine.client.global.user.command;

import com.javabi.codebuilder.generated.IGeneratedCommand;
import com.javabi.common.locale.LanguageCountry;
import com.turnengine.client.global.command.IGlobalExecutableCommand;

/**
 * The I Set User Language.
 */
public interface ISetUserLanguage extends IGeneratedCommand, IGlobalExecutableCommand<Boolean>, Comparable<ISetUserLanguage> {

	/**
	 * Returns the login id.
	 * @return the login id.
	 */
	long getLoginId();

	/**
	 * Returns the language.
	 * @return the language.
	 */
	LanguageCountry getLanguage();

	/**
	 * Sets the login id.
	 * @param loginId the login id to set.
	 */
	void setLoginId(long loginId);

	/**
	 * Sets the language.
	 * @param language the language to set.
	 */
	void setLanguage(LanguageCountry language);
}
